﻿<phone:PhoneApplicationPage
    x:Class="OnlineVideos.Views.PersonGalleryPopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False"
    mc:Ignorable="d">
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="maingrid">
            <Grid x:Name="theBack" Grid.Row="0" Background="#80000000"  VerticalAlignment="Center">
        <Image Name="galleryimage" Source="{Binding FullImage}"  Stretch="Fill" ManipulationCompleted="galleryimage_ManipulationCompleted_1" VerticalAlignment="Center" HorizontalAlignment="Center" ManipulationDelta="galleryimage_ManipulationDelta" Height="800" Width="480"   >
                    <Image.Resources>
                        <Storyboard x:Name="FadeImageStoryboard">
                    <DoubleAnimation Storyboard.TargetName="galleryimage"/>
                        </Storyboard>
                    </Image.Resources>
                </Image>
        
    </Grid>
    <toolkit:PerformanceProgressBar  VerticalAlignment="Center"  x:Name="_performanceProgressBargallery"  Foreground="Red"/>
    </Grid>
</phone:PhoneApplicationPage>